<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        // 1.更新变量
        var myname = '齐雨桐';
        myname = '朝歌阿';
        console.log(myname);
        // 2.同时声明多个变量
        var myname = '朝歌阿',
            address = '西安',
            gz = 20000;
        console.log(myname);
        console.log(address);
        console.log(gz);
    </script>
</head>

<body>

</body>

</html>